<template>
  <li>
    <header>计算属性和侦听器</header>
    <ul>
      <li>
        计算属性
        <ol>
          <li>基础例子</li>
          <li>计算属性缓存vs方法</li>
          <li>计算属性vs侦听属性</li>
          <li>计算属性的setter</li>
        </ol>
        <vs-method/>
        <vs-watch/>
      </li>
      <li>
        侦听器
        <watch/>
      </li>
    </ul>
  </li>
</template>

<script>
import VsMethod from "./samples/VsMethod";
import VsWatch from "./samples/VsWatch";
import Watch from "./samples/Watch";

export default {
  name: "Computed",
  components: { VsMethod, VsWatch, Watch }
};
</script>